from CommonLib import  *
from database_resource import *

class IndexHandler(tornado.web.RequestHandler):
    __metaclass__ = ABCMeta

    def get(self):
        greeting = self.get_argument('greeting', 'Hello')
        respon = {'issuccess': greeting}
        respon_json = tornado.escape.json_encode(respon)
        con.commit();
        self.write(respon_json)
        # self.write(greeting + ', friendly user!')
